package com.sh.data.engine.repository.dao.normalization.modeldesign.busmatrix.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

/**
 * @author : changkong
 * @date : 2022/1/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_matrix_field")
@EqualsAndHashCode(callSuper = true)
public class MatrixFieldEntity extends EngineBaseModel<MatrixFieldEntity> {
    // 矩阵id
    private Long matrixId;

    // 关联字段名
    private String factField;

    // 关联字段名
    private String dimField;

    @TableLogic(value = "1", delval = "0")
    private Integer rowState;

    @TableField(exist = false)
    private String matrixMgId;
}
